package main

import "fmt"

type Humaner interface {
	sayhi()
}
type Personer interface {
	Humaner
	sing(lrc string)
}
type Student struct {
	name string
	id   int
}

var str string

func (tmp *Student) sayhi() {

	fmt.Printf("Student[%s,%d] sayhi\n", tmp.name, tmp.id)
}
func (tmp *Student) sing(lrc string) {

	fmt.Println("Student在唱着:", lrc)
}
func main() {
	var i Personer
	var s Personer
	s = &Student("lucy", 999)
	i = s
	i.sayhi()
	i.sing("我和我的祖国")
}
